package com.example.searcher;

import com.example.searcher.search.Parser;

import java.io.File;

public class Test {
    public static void main(String[] args) {
        Parser parser = new Parser();
        File file = new File("E:\\codeforbit\\project\\searchEngine\\docs_search_index\\jdk-8u451-docs-all\\docs\\api\\java\\util\\ArrayList.html");
        String content1 = parser.parseContent(file);
        String content2 = parser.parseContentByRegex(file);
        System.out.println(content1);
        System.out.println(content2);
    }
}
